package com.pzhuweb.sgblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pzhuweb.sgblog.domain.dto.TagListDto;
import com.pzhuweb.sgblog.domain.entity.Tag;
import com.pzhuweb.sgblog.domain.utils.ResponseResult;
import com.pzhuweb.sgblog.domain.vo.TagVo;

import java.util.List;

/**
 * @author 鄧浩奇
 * @classname TagService
 * @description
 * @since 2023/8/13 16:38
 **/

public interface TagService extends IService<Tag> {
    ResponseResult<?> getTagList(Integer pageNum, Integer pageSize, TagListDto tagListDto);

    ResponseResult<?> tag(TagListDto tagListDto);

    ResponseResult<?> deleteTags(List<String> ids);

    ResponseResult<?> updateTag(TagVo tagVo);

    ResponseResult<?> getTagInfo(long tagId);

    ResponseResult<?> listAllTag();
}
